package org.qydjk.console.service;


import org.qydjk.common.pojo.SUser;

public interface ISysService {
    /**
     * 更新角色资源关联表
     * @param roleId
     * @param resourceIds
     * @throws Exception
     */
    public void updateRoleResource(Integer roleId, String resourceIds) throws Exception;

    /**
     * 用户添加，连角色
     * @param userVo
     * @param roleIds
     * @throws Exception
     */
    public void addUser(SUser userVo, String roleIds) throws Exception;

    /**
     * 用户修改，连角色
     * @param user
     * @param roleIds
     * @throws Exception
     */
    public void updateUser(SUser user, String roleIds) throws Exception;
}
